package com.anxinm;


import com.anxinm.constant.FaDaDaConstant;
import com.anxinm.factory.ContractPlatFormHandleFactory;
import com.anxinm.factory.platform.impl.FaDaDaPlatFormHandle;
import com.anxinm.factory.platform.impl.QIYUESUOPlatFormHandle;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class FadadaApplication {

    @Autowired
    private ContractPlatFormHandleFactory contractPlatFormHandleFactory ;

    private static ConfigurableListableBeanFactory beanFactory;
    public  void main(String[] args) {
        FaDaDaPlatFormHandle platFormHandle =
                contractPlatFormHandleFactory
                        .getPlatFormHandle
                                (FaDaDaConstant.FADADA_ENV,
                                        FaDaDaConstant.FADADA_ENV_TEST,
                                        FaDaDaConstant.FADADA_PLATFORM_HANDLE_CLASS);


        QIYUESUOPlatFormHandle platFormHandle1 = contractPlatFormHandleFactory
                .getPlatFormHandle
                        (FaDaDaConstant.FADADA_ENV,
                                FaDaDaConstant.FADADA_ENV_TEST,
                                FaDaDaConstant.QIYUESUO_PLATFORM_HANDLE_CLASS);


    }
}
